<template>
	<view class="message">
		<view class="marge">
			<view @click="open">
				<contact-way class="module" style="margin-top: 0rpx;"></contact-way>
				<my-relation ref="popup"></my-relation>
			</view>
		</view>
		<view class="content">
			<view class="title">
				<view class="tit">
					标题
				</view>
				<view class="text">
					{{}}
				</view>
			</view>
			<view class="title">
				<view class="tit">
					发布时间
				</view>
				<view class="text">
					{{}}
				</view>
			</view>
			<view class="title">
				<view class="tit">
					联系人
				</view>
				<view class="text">
					{{}}
				</view>
			</view>
			<view class="title">
				<view class="tit">
					电话号码
				</view>
				<view class="text">
					{{}}
				</view>
			</view>
		</view>

		<view class="avoid-fraud">
			<span class="fraud">
				防骗警示:
			</span>
			测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试
			<span class="fraud">测试测试测试测试</span>
		</view>

		<view class="content">
			<view class="title">
				<view class="tit">
					地区
				</view>
				<view class="text">
					{{people.address}}
				</view>
			</view>
			<view class="title">
				<view class="tit">
					分类
				</view>
				<view class="text">
					{{}}
				</view>
			</view>
			<view class="title">
				<view class="tit">
					状态
				</view>
				<view class="text">
					{{people.status}}
				</view>
			</view>
		</view>
		<view class="head">
			<view class="title">
				详情
			</view>
			<view class="content">
				测试测试测试测试测试测试测试测试测试测试测试测试
			</view>
		</view>
	</view>
</template>

<script>
	import contactWay from '../../components/contactway.vue';
	import myRelation from '../../components/relation.vue'
	export default {
		data() {
			return {
				people:{
					id: 1,
					image: "../../static/首页ok_29-17.jpg",
					name: "李先生",
					address: "广州",
					time: "2020-10-15 10:03",
					status: "未成交"
				},
			}
		},
		components: {
			"contactWay": contactWay,
			"myRelation":myRelation
		},
		methods:{
			open() {
				this.$refs.popup.$refs.popups.open()
			},
		},
		
	}
</script>
<style lang="scss">
	.message {
		.module /deep/ .massage {
			margin-top: 20rpx;
			margin-bottom: 40rpx;
		}
	}
</style>
<style lang="scss" scoped>
	.message {
		background: #eaeaea;

		.marge {
			display: flex;
			flex-direction: column;
			background: #FFFFFF;
			margin-bottom: 20rpx;
		}

		.content {
			background: #FFFFFF;
			margin-bottom: 20rpx;

			.title {
				display: flex;
				justify-content: space-between;
				font-size: 34rpx;
				padding: 20rpx;
				border-bottom: solid 1px #C8C9CC;

				.text {
					color: #007AFF;
				}
			}
		}

		.avoid-fraud {
			padding: 20rpx;
			margin-bottom: 20rpx;
			background: #FFFFFF;
			line-height: 50rpx;
			font-size: 34rpx;

			.fraud {
				color: #ff0000;
			}
		}

		.head {
			background: #FFFFFF;
			padding: 0 20rpx;
			margin-bottom: 50rpx;
			font-size: 34rpx;

			.title {
				font-weight: bold;
				border-bottom: solid 1px #C8C9CC;
				padding: 20rpx 0;
				margin-bottom: 10rpx;
			}
		}
	}
</style>
